AUTOMAKE_OPTIONS=foreign
myfileddd=/home/lh/gtk-share-lib/example
bin_PROGRAMS=test2
test2_SOURCES= mainfile.c
test2_LDADD=$(myfileddd)/myfile.so
AM_CPPFLAGS=-I$(myfileddd)
